package com.gomore.opple.module.award;


import com.gomore.opple.data.DataRepositoryComponent;
import com.gomore.opple.module.award.unlottery.UnlotteryPresenterModule;
import com.gomore.opple.module.award.lotteried.LotteriedPresenterModule;
import com.gomore.opple.module.cards.unclaimed.UnclaimedPresenterModule;
import com.gomore.opple.module.cards.used.UsedPresenterModule;
import com.gomore.opple.utils.FragmentScoped;

import dagger.Component;

/**
 * 子的Component
 * dependencies = DataRepositoryComponent.class，添加了上层依赖
 * 全局的生命周期FragmentScoped
 */
@FragmentScoped
@Component(dependencies = DataRepositoryComponent.class, modules = {UnlotteryPresenterModule.class, LotteriedPresenterModule.class})
public interface AwardComponent {
    void inject(AwardActivity activity);
}
